package com.dbz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("supplier")
public class Supplier {
    @TableId(type = IdType.UUID,value = "supplierid")
    private String supplierid;//供货商id
    @TableField(value = "sname")
    private String sname;//供货商名称
    @TableField(value = "saccount")
    private String saccount;//供货商账户
    @TableField(value = "sphone")
    private String sphone;//供货商电话
   /* @TableField(value = "supplierfatherid")
    private String supplierfatherid;
    @TableField(exist = false)
    private Set<Supplier>  children;*/


}
